import { defineConfig } from 'vite'
import uni from '@dcloudio/vite-plugin-uni'
// https://vitejs.dev/config/
export default defineConfig({
  plugins: [uni()],
  server: {
    host: '0.0.0.0',
    port: 3000,
    open: true,
    cors: true
  },
  build: {
    target: 'es2015',
    minify: 'terser',
    cssCodeSplit: false
  }
})
